<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
 
    <h:head>
    	<title>
    		<h:outputText value="#{bundle.application_name}" />
    	</title>
    	<link rel="stylesheet" type="text/css" href="css/dochandler-style.css" />
    </h:head>
    
    <h:body>
    	<h3><h:outputText value="#{bundle.application_name}" /> :: Main :: Request Mission</h3>
    	
    	<h:form id="main_form">
	    	
    		<h:messages id="error_msg" style="color:red;margin:8px;" />
			
			<br /><br />
			
			Describe the mission:     		
    		<h:inputText id="btn_reqDesc" value="#{missionRequestBean.requestDescrition}" size="15" maxlength="15" />
    		
    		<br /><br />
    		
    		Enter the estimated cost:
    		<h:inputText id="btn_estCost" value="#{missionRequestBean.estimatedCost}" size="15" maxlength="15" />
    		
    		<br /><br />
    		
    		Enter the start date of the mission:
    		<h:inputText id="btn_iniDate" value="#{missionRequestBean.missionStart}" size="15" maxlength="15" />
    		
    		<br /><br />
    		
    		Enter the estimated end date of the mission:
    		<h:inputText id="btn_endDate" value="#{missionRequestBean.missionEnd}" size="15" maxlength="15" />
    		
    		<h:commandButton value="Make Request" action="#{missionRequestBean.requestMission()}"/>
    		
    	</h:form>
    	
    </h:body>
    
</html>